import { Spin } from 'antd'
import styles from './index.css'

export default ({ spinning, className, style })=> (
    <div style={style} className={`${styles.wrapper} ${className}`}>
        <Spin spinning={spinning ? spinning : false}/>
    </div>
)

